// import redis, { RedisModules, RedisFunctions, RedisScripts } from 'redis'
const redis = require('redis')
// 创建Redis客户端
const client = redis.createClient();

client.connect().then(() => {
    console.log('redis success')
}).catch((error: Error) => {
    console.log(`redis: ${error}`)
});

// export default client
